@import url('https://fonts.googleapis.com/css2?family=PT+Sans:ital@1&family=Poppins:ital,wght@1,300&family=Tajawal&display=swap');

*{
  margin: 0px;
  padding: 0px;
  box-sizing: border-box;
  font-family: 'PT Sans', sans-serif;
}
:root{
  --black1:#222;
  --black2:#999;
}
body{
  min-height: 100vh;
  overflow-x: hidden;
}
.continaer{
  position: relative;
  width: 100%;
}
.navbar{
  position: fixed;
  width: 300px;
  height: 100%;
  background-color: #516BEB;
  border-left: 10px solid #516BEB;
  transition: 0.5s;
  overflow: hidden;
}

.navbar.active{
  width: 80px;
  
}

.navbar ul{
  position: absolute;
  top: 0px;
  left: 0px;
  width: 100%;
}
.navbar ul li{
  position: relative;
  width: 100%;
  list-style: none;
  border-top-left-radius:29px;
  border-bottom-left-radius:29px;
}
.navbar ul li:hover,
.navbar ul li.hovered
{
  background: #fff;
}
.navbar ul li a{
  text-decoration: none;
  /* font-size: 21px; */
  color: #fff;
  display: block;
  position: relative;
  width: 100%;
  display: flex;
}
.navbar ul li:nth-child(1){
  margin-bottom: 41px;
  pointer-events: none;
}
.navbar ul li:hover a,
.navbar ul li.hovered a

{
  color: #516BEB;

}
.navbar ul li a .icon{
  position: relative;
  display: block;
  min-width: 60px;
  height: 60px;
  line-height: 70px;
  text-align: center;
}

.navbar ul li a .icon ion-icon{
  font-size: 21px;
  font-weight: bold;
}
.navbar ul li a .title{
  position: relative;
  display: block;
  padding: 0 10px;
  height: 60px;
  line-height: 60px;
  text-align: start;
  white-space: nowrap;

}

.navbar ul li:hover a::before,
.navbar ul li.hovered a::before
{
  content: '';
  position: absolute;
  right: 0px;
  top: -50px;
  width: 50px;
  height: 50px;
  background: transparent;
  border-radius: 50%;
  box-shadow: 35px 35px  0 10px #fff;
  pointer-events: none;
}

.navbar ul li:hover a::after,
.navbar ul li.hovered a::after

{
  content: '';
  position: absolute;
  right: 0px;
  bottom:-50px;
  width: 50px;
  height: 50px;
  background: transparent;
  border-radius: 50%;
  box-shadow: 35px -35px  0 10px #fff;
  pointer-events: none;
}
.main{
  position: absolute;
  width: calc(100%  - 300px);
  left: 300px;
  min-height: 100vh;
  background-color: white;
  transition: 0.6s;
}
.main.active{
  width: calc(100% - 80px);
  left: 80px;
}
.tobbar{
  width: 100%;
  height: 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 10px;
}
.toggle{
  position: relative;
  top: 0px;
  width: 60px;
  height: 60px;
  background-color: #ccc;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2.5em;
  cursor: pointer;
}
.search{
  position: relative;
  width: 400px;
  margin: 0 10px;

}
.search label{

  position: relative;
  width: 100%;

}
.search label input{
  width: 100%;
  height: 40px;
  border-radius: 40px;
  padding: 5px 20px;
  padding-left: 30px;
  font-size: 19px;
  outline: none;
  border: 1px solid var(--black2);
}
.search label ion-icon{
  position: absolute;
  top: 0;
  left: 10px;
  font-size: 1.2em;

} 
.user{
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  cursor: pointer;

}
.user img{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;

}
.cardbox{
  position: relative;
  width: 100%;
  padding: 21px;
  grid-template-columns: repeat(4,1fr);
  display: grid;
  grid-gap:30px;

}
.cardbox .card{
  position: relative;
  background-color: white;
  padding: 30px;
  box-shadow:  0 7px 25px rgba(0,0,0,0.07);
  border-radius: 20px;
  display: flex;
  justify-content: space-between;
  cursor: pointer;
  



}
.numbers-div{
    position: relative;
    font-weight: 400;
    font-size: 2.5em;
    color: #516BEB
}
.cardbox .card .card-name{

  color: #516BEB;
  font-size: 1.1em;
  margin-top: 6px;
}
.cardbox .card .iconbox{
    font-size: 2.5em;
    color: var(--black2);
}
.cardbox .card:hover{
  background-color: #516BEB;

}

.cardbox .card:hover .numbers-div,
.cardbox .card:hover .card-name,
.cardbox .card:hover .iconbox{

  color: #fff;

}
.datelist{
  position: relative;
  width: 100%;
  padding: 20px;
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-gap:30px;
  /* margin-top: 11px; */

}
.datelist .order{
  position: relative;
  display: grid;
  min-height: 500px;
  background-color: white;
  padding: 20px;
  box-shadow:  0 7px 25px rgba(0,0,0,0.08);
  border-radius: 20px;

}
.cardheader{
  display: flex;
  justify-content: space-between;
  align-items: center;

}
.cardheader h5{
  font-weight: bold;
  color: #516BEB;
  font-size: 1.2rem;

}
.btn{
  position: relative;
  padding: 5px 10px;
  background-color: #516BEB;
  color: #fff;
  text-decoration: none;
  border-radius: 7px;
  font-weight: 400;
}
.datelist table{
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;

}
.datelist table thead td{
  font-weight: 600;

}
.datelist .order table tr{
  color: var(--black1);
  border-bottom: 1px solid rgba(0,0,0,0.1);

}
.datelist .order table tr:last-child{
  border-bottom: none;
}
.datelist .order table tbody tr:hover{
  background-color:#516BEB;
  color: white;
  cursor: pointer;

}
.datelist .order table tr td{
  padding: 10px;

}
.datelist .order table tr td:nth-child(2){
  text-align: end;

}
.datelist .order table tr td:nth-child(3){
  text-align: center;
}
.stauts.dellivred{
  padding:  2px 5px;
  background-color: #8de02c;
  color: white;
  border-radius: 5px;
  font-size: 14px;
  font-weight: 400;

}
.stauts.Pending{
  padding:  2px 5px;
  background-color: #FFE162;
  color: white;
  border-radius: 5px;
  font-size: 14px;
  font-weight: 400; 
}
.stauts.Return{
  padding:  2px 5px;
  background-color: #DA1212;
  color: white;
  border-radius: 5px;
  font-size: 14px;
  font-weight: 400; 
}
.stauts.inprogress{
  padding:  2px 5px;
  background-color: #5800FF;
  color: white;
  border-radius: 5px;
  font-size: 14px;
  font-weight: 400; 
}
.Customers{
  position: relative;
  display: grid;
  min-height: 500px;
  padding: 20px;
  box-shadow:  0 8px 23px rgba(0,0,0,0.08);
  border-radius: 20px;
  background-color: white;


}
.Customers .imgbox{
  position: relative;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  overflow: hidden;

}
.Customers .imgbox img{
  position: absolute;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.Customers table tr:hover{
  background-color: #516BEB;
  color: white;

}
.Customers table tr td{
  padding: 12px 10px;
}
.Customers table tr td h4{
  font-size: 15px;
  font-weight: 400;
  line-height: 1.2em;
  

}
.Customers table tr td h4 span{
  font-size: 13px;
  color: #6998AB;


}
.Customers table tr:hover td h4 span{
  color: white;
}
@media (max-width:991px){
  
  .navbar{
    left: -300px;

  }
  .navbar.active{
    left: 0;
    width: 300px;
  }
  .main{
    width: 100%;
    left: 0px;
  }
  .main.active{
    left: 300px;
  }
  .cardbox{
    grid-template-columns: repeat(2,1fr);
  }
}
@media (max-width:768px){
  .datelist{
    grid-template-columns: repeat(1,1fr);
  }
  .order{
    overflow-x: hidden;
  }
  .stauts.inprogress{
    white-space: nowrap;
  }
}
@media (max-width:480px){
  .cardbox{
    grid-template-columns: repeat(1,1fr);
  }
  .cardheader h5{
    font-size: 21px;
  }
  .user{
    min-width: 42px;
  }
  .navbar{
    width: 100%;
    left: -100%;
    z-index: 1000;
  }
  .navbar.active{
    width: 100%;
    left: 0;

  }
  .toggle{
    z-index: 10001;
    background: none;
  }
  .main.active .toggle{
    position: fixed;
    right: 0px;
    left: initial;
    color: white;
  }
}

